package org.ohuyo.libra.client.master.webapp.actions;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.ohuyo.libra.client.session.LibraSession;
import org.ohuyo.libra.client.util.LibraUtils;

import com.opensymphony.xwork2.ActionSupport;

/**
 * 
 * @author rabbit
 * 
 */
@Action("/master/libraSession")
@Result(name = "success", location = "/master/libraSession.jsp")
public class LibraSessionAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7993143495988221135L;
	private LibraSession libraSession;

	public String execute() throws Exception {
		libraSession = LibraUtils.getLibraSession();
		return super.execute();
	}

	public LibraSession getLibraSession() {
		return libraSession;
	}

	public void setLibraSession(LibraSession libraSession) {
		this.libraSession = libraSession;
	}

}